#pragma once 
#include <game/Config.h>

#include <xml/Object.h>

ARELLO_GAME_NAMESPACE_DECL_START
namespace flow {

class EntryExitDefinition
	: private xml::ObjectANSI
{
public:
	EntryExitDefinition();
	~EntryExitDefinition();

	xml::ObjectANSI* GetLoader() { return this; }

	const std::string& GetName() { return this->name; }
	const std::string& GetEntry() { return this->entry; }
private: // xml::ObjectANSI
	virtual bool on_attribute(xml::Provider * prov, const std::string & name, const std::string & value);
private:
	std::string name;
	std::string entry;
	int progress;
};

} // namespace flow
ARELLO_GAME_NAMESPACE_DECL_END